home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
- Begin VB.Form Form1
- Caption = "WorkStation2"
- ClientHeight = 2790
- ClientLeft = 165
- ClientTop = 735
- ClientWidth = 7230
- LinkTopic = "Form1"
- ScaleHeight = 2790
- ScaleWidth = 7230
- StartUpPosition = 3 'Windows Default
- Begin MSComDlg.CommonDialog dlg
- Left = 10080
- Top = 960
- _ExtentX = 847
- _ExtentY = 847
- _Version = 393216
- End
- Begin VB.Timer Timer11
- Interval = 10
- Left = 9000
- Top = 2160
- End
- Begin VB.Frame Frame5
- Caption = "open/save"
- Height = 975
- Left = 7560
- TabIndex = 54
- Top = 2280
- Visible = 0 'False
- Width = 1215
- End
- Begin VB.Frame Frame4
- Caption = "Alarm"
- Height = 1095
- Left = 6600
- TabIndex = 52
- Top = 3240
- Visible = 0 'False
- Width = 735
- Begin VB.Timer Timer9
- Enabled = 0 'False
- Interval = 1000
- Left = 240
- Top = 600
- End
- Begin VB.TextBox Text12
- Height = 285
- Left = 120
- TabIndex = 53
- Text = "5"
- Top = 240
- Width = 495
- End
- End
- Begin VB.ComboBox Combo1
- Height = 315
- Left = 3960
- TabIndex = 51
- Text = "10"
- Top = 3240
- Visible = 0 'False
- Width = 615
- End
- Begin VB.CommandButton Command22
- Caption = "Alarm ON"
- Height = 255
- Left = 5040
- TabIndex = 50
- Top = 3240
- Visible = 0 'False
- Width = 975
- End
- Begin VB.PictureBox Picture3
- Height = 1150
- Left = 600
- ScaleHeight = 1095
- ScaleMode = 0 'User
- ScaleWidth = 1440
- TabIndex = 42
- Top = 2640
- Visible = 0 'False
- Width = 1500
- Begin VB.CommandButton Command21
- Caption = "Done"
- Height = 375
- Left = 720
- TabIndex = 48
- Top = 720
- Width = 735
- End
- Begin VB.CommandButton Command20
- Caption = "Help"
- Height = 375
- Left = 0
- TabIndex = 47
- Top = 720
- Width = 735
- End
- Begin VB.CommandButton Command19
- Caption = "Version"
- Height = 375
- Left = 720
- TabIndex = 46
- Top = 360
- Width = 735
- End
- Begin VB.CommandButton Command18
- Caption = "Alarm"
- Height = 375
- Left = 0
- TabIndex = 45
- Top = 360
- Width = 735
- End
- Begin VB.CommandButton Command17
- Caption = "Save"
- Height = 375
- Left = 720
- TabIndex = 44
- Top = 0
- Width = 735
- End
- Begin VB.CommandButton Command16
- Caption = "Open"
- Height = 375
- Left = 0
- TabIndex = 43
- Top = 0
- Width = 735
- End
- End
- Begin VB.Timer Timer5
- Interval = 1000
- Left = 7440
- Top = 1080
- End
- Begin VB.Frame Frame3
- Caption = "timer work/break"
- Height = 1335
- Left = 7320
- TabIndex = 40
- Top = 720
- Visible = 0 'False
- Width = 1455
- Begin VB.Timer Timer8
- Enabled = 0 'False
- Interval = 10
- Left = 960
- Top = 840
- End
- Begin VB.Timer Timer7
- Enabled = 0 'False
- Interval = 10
- Left = 960
- Top = 360
- End
- Begin VB.Timer Timer6
- Interval = 20000
- Left = 120
- Top = 840
- End
- End
- Begin VB.Timer Timer4
- Interval = 10
- Left = 8880
- Top = 720
- End
- Begin VB.Timer Timer3
- Interval = 10000
- Left = 8520
- Top = 240
- End
- Begin VB.Timer Timer2
- Interval = 10
- Left = 8040
- Top = 240
- End
- Begin VB.TextBox Text11
- Height = 285
- Left = 9120
- TabIndex = 39
- Text = "1"
- Top = 240
- Visible = 0 'False
- Width = 255
- End
- Begin VB.PictureBox Picture2
- Height = 4695
- Left = 0
- ScaleHeight = 4635
- ScaleWidth = 11835
- TabIndex = 38
- Top = 3600
- Visible = 0 'False
- Width = 11895
- End
- Begin VB.Timer Timer1
- Interval = 1500
- Left = 7320
- Top = 240
- End
- Begin VB.TextBox Text10
- Height = 4695
- Left = 0
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 37
- Top = 3600
- Visible = 0 'False
- Width = 11850
- End
- Begin VB.CheckBox Check1
- Caption = "Save password"
- Height = 255
- Left = 1560
- TabIndex = 36
- Top = 3240
- Visible = 0 'False
- Width = 1455
- End
- Begin VB.OptionButton Option2
- Caption = "OFF"
- Height = 255
- Left = 840
- TabIndex = 35
- Top = 3240
- Value = -1 'True
- Visible = 0 'False
- Width = 615
- End
- Begin VB.OptionButton Option1
- Caption = "ON"
- Height = 255
- Left = 120
- TabIndex = 34
- Top = 3240
- Visible = 0 'False
- Width = 615
- End
- Begin VB.CommandButton Command15
- Caption = "OK"
- Height = 255
- Left = 5640
- TabIndex = 33
- Top = 2880
- Visible = 0 'False
- Width = 375
- End
- Begin VB.CommandButton Command14
- Caption = "OK"
- Height = 255
- Left = 2640
- TabIndex = 32
- Top = 2880
- Visible = 0 'False
- Width = 375
- End
- Begin VB.TextBox Text9
- Height = 285
- IMEMode = 3 'DISABLE
- Left = 4800
- MaxLength = 10
- PasswordChar = "*"
- TabIndex = 31
- Top = 2880
- Visible = 0 'False
- Width = 735
- End
- Begin VB.TextBox Text8
- Height = 285
- IMEMode = 3 'DISABLE
- Left = 1800
- MaxLength = 10
- PasswordChar = "*"
- TabIndex = 29
- Top = 2880
- Visible = 0 'False
- Width = 735
- End
- Begin VB.PictureBox Picture1
- Height = 2055
- Left = 2160
- ScaleHeight = 1995
- ScaleWidth = 4995
- TabIndex = 27
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text7
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 26
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text6
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 25
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text5
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 24
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text4
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 23
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text3
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 22
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.TextBox Text2
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 21
- Top = 240
- Visible = 0 'False
- Width = 5055
- End
- Begin VB.CommandButton Command13
- Caption = "7"
- Height = 375
- Left = 5040
- TabIndex = 15
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command12
- Caption = "6"
- Height = 375
- Left = 4560
- TabIndex = 14
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command11
- Caption = "5"
- Height = 375
- Left = 4080
- TabIndex = 13
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command10
- Caption = "4"
- Height = 375
- Left = 3600
- TabIndex = 12
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command9
- Caption = "3"
- Height = 375
- Left = 3120
- TabIndex = 11
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command8
- Caption = "2"
- Height = 375
- Left = 2640
- TabIndex = 10
- Top = 2400
- Width = 495
- End
- Begin VB.CommandButton Command7
- Caption = "1"
- Height = 375
- Left = 2160
- TabIndex = 9
- Top = 2400
- Width = 495
- End
- Begin VB.TextBox Text1
- Height = 2055
- Left = 2160
- MultiLine = -1 'True
- TabIndex = 8
- Top = 240
- Width = 5055
- End
- Begin VB.Frame Frame2
- Caption = "Options"
- Height = 1335
- Left = 0
- TabIndex = 1
- Top = 1440
- Width = 2055
- Begin VB.CommandButton Command6
- Caption = "Print"
- Height = 495
- Left = 1320
- TabIndex = 7
- Top = 720
- Width = 615
- End
- Begin VB.CommandButton Command5
- Caption = "Option"
- Height = 495
- Left = 720
- TabIndex = 6
- Top = 720
- Width = 615
- End
- Begin VB.CommandButton Command4
- Caption = "Pass- word"
- Height = 495
- Left = 120
- TabIndex = 5
- Top = 720
- Width = 615
- End
- Begin VB.CommandButton Command3
- Caption = "Large"
- Height = 495
- Left = 1320
- TabIndex = 4
- Top = 240
- Width = 615
- End
- Begin VB.CommandButton Command2
- Caption = "Comp- act"
- Height = 495
- Left = 720
- TabIndex = 3
- Top = 240
- Width = 615
- End
- Begin VB.CommandButton Command1
- Caption = "Min"
- Height = 495
- Left = 120
- Style = 1 'Graphical
- TabIndex = 2
- Top = 240
- Width = 615
- End
- End
- Begin VB.Frame Frame1
- BackColor = &H8000000B&
- Caption = "InfoScreen"
- Height = 1215
- Left = 0
- TabIndex = 0
- Top = 120
- Width = 2055
- Begin VB.Label Label5
- Alignment = 2 'Center
- Caption = "No password entered"
- Height = 255
- Left = 120
- TabIndex = 20
- Top = 840
- Width = 1815
- End
- Begin VB.Label Label4
- Alignment = 2 'Center
- Caption = "Good day"
- ForeColor = &H00C00000&
- Height = 255
- Left = 120
- TabIndex = 19
- Top = 600
- Width = 1815
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- Caption = "TEXT 1"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00008000&
- Height = 255
- Left = 120
- TabIndex = 18
- Top = 360
- Width = 1815
- End
- Begin VB.Label Label2
- Caption = "Work"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H000000FF&
- Height = 255
- Left = 1080
- TabIndex = 17
- Top = 0
- Width = 495
- End
- End
- Begin VB.Label Label9
- Caption = "Prevent in mins."
- Height = 255
- Left = 3120
- TabIndex = 49
- Top = 3240
- Visible = 0 'False
- Width = 1935
- End
- Begin VB.Label Label8
- Caption = "0"
- Height = 255
- Left = 8880
- TabIndex = 41
- Top = 1200
- Visible = 0 'False
- Width = 495
- End
- Begin VB.Label Label7
- Caption = "Enter the password ->"
- Height = 255
- Left = 3120
- TabIndex = 30
- Top = 2880
- Visible = 0 'False
- Width = 1575
- End
- Begin VB.Label Label6
- Caption = "Choose a password ->"
- Height = 255
- Left = 120
- TabIndex = 28
- Top = 2880
- Visible = 0 'False
- Width = 1575
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = "Gathering Production"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00800000&
- Height = 375
- Left = 5640
- TabIndex = 16
- Top = 2400
- Width = 1575
- End
- Begin VB.Line Line2
- X1 = 4440
- X2 = 9480
- Y1 = 0
- Y2 = 0
- End
- Begin VB.Line Line1
- X1 = 0
- X2 = 4920
- Y1 = 0
- Y2 = 0
- End
- Begin VB.Menu fichier
- Caption = "File"
- Begin VB.Menu erase
- Caption = "Erase"
- Begin VB.Menu t1
- Caption = "Text1"
- End
- Begin VB.Menu t2
- Caption = "Text2"
- End
- Begin VB.Menu t3
- Caption = "Text3"
- End
- Begin VB.Menu t4
- Caption = "Text4"
- End
- Begin VB.Menu t5
- Caption = "Text5"
- End
- Begin VB.Menu t6
- Caption = "Text6"
- End
- Begin VB.Menu t7
- Caption = "Text7"
- End
- End
- Begin VB.Menu quit
- Caption = "Quit"
- Shortcut = ^Q
- End
- End
- Begin VB.Menu pr
- rances
- Caption = "Preferences"
- Begin VB.Menu ct
- Caption = "Text color"
- Begin VB.Menu n
- Caption = "Black"
- End
- Begin VB.Menu r
- Caption = "Red"
- End
- End
- Begin VB.Menu cf
- Caption = "Font color"
- Begin VB.Menu b
- Caption = "White"
- End
- Begin VB.Menu v
- Caption = "Green"
- End
- End
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub b_Click()
- Text1.BackColor = &HFFFFFF
- Text2.BackColor = &HFFFFFF
- Text3.BackColor = &HFFFFFF
- Text4.BackColor = &HFFFFFF
- Text5.BackColor = &HFFFFFF
- Text6.BackColor = &HFFFFFF
- Text7.BackColor = &HFFFFFF
- End Sub
- Private Sub Check1_Click()
- Text9.Text = Text8.Text
- End Sub
- Private Sub Command1_Click()
- If Form1.WindowState = 0 Then
- End If
- If Option1.Value = True Then
- Form1.Height = 4230
- End If
- Form1.WindowState = 1
- If Option1.Value = True Then
- Label7.Visible = True
- Text9.Visible = True
- Command15.Visible = True
- Picture1.Visible = True
- Picture2.Visible = True
- Command4.Enabled = False
- Form4.Text1.Visible = False
- End If
- End Sub
- Private Sub Command10_Click()
- Label3.Caption = "TEXT 4"
- Text1.Visible = False
- Text2.Visible = False
- Text3.Visible = False
- Text4.Visible = True
- Text5.Visible = False
- Text6.Visible = False
- Text7.Visible = False
- End Sub
- Private Sub Command11_Click()
- Label3.Caption = "TEXT 5"
- Text1.Visible = False
- Text2.Visible = False
- Text3.Visible = False
- Text4.Visible = False
- Text5.Visible = True
- Text6.Visible = False
- Text7.Visible = False
- End Sub
- Private Sub Command12_Click()
- Label3.Caption = "TEXT 6"
- Text1.Visible = False
- Text2.Visible = False
- Text3.Visible = False
- Text4.Visible = False
- Text5.Visible = False
- Text6.Visible = True
- Text7.Visible = False
- End Sub
- Private Sub Command13_Click()
- Label3.Caption = "TEXT 7"
- Text1.Visible = False
- Text2.Visible = False
- Text3.Visible = False
- Text4.Visible = False
- Text5.Visible = False
- Text6.Visible = False
- Text7.Visible = True
- End Sub
- Private Sub Command14_Click()
- If Form1.WindowState = 2 Then Form1.WindowState = 0
- If Form1.WindowState = 0 Then
- Label6.Visible = False
- Text8.Visible = False
- Command14.Visible = False
- Option1.Visible = False
- Option2.Visible = False
- Check1.Visible = False
- Form1.Height = 3480
- End If
- End Sub
- Private Sub Command15_Click()
- If Text9.Text = Text8.Text Then
- Text9.Text = ""
- Command4.Enabled = True
- Label7.Visible = False
- Text9.Visible = False
- Command15.Visible = False
- Picture1.Visible = False
- Picture2.Visible = False
- Form1.Height = 3480
- Form4.Text1.Visible = True
- End If
- End Sub
- Private Sub command16_Click()
- Dim Filtre, LeFichier
- dlg.CancelError = True
- dlg.DialogTitle = "Ouvrir un fichier texte"
- dlg.filename = "*.txt"
- Filtre = "Textes (*.txt)|*.txt|Informations (*.moi;*.me)|"
- Filtre = Filtre + "Tous les fichiers (*.*)|*.*"
- dlg.Filter = Filtre
- dlg.Flags = cdlOFNFileMustExist Or cdlOFNPathMustExist
- On Error Resume Next
- dlg.ShowOpen
- If Err <> cdlCancel Then
- Me.Caption = dlg.FileTitle
- LeFichier = dlg.filename
- Open LeFichier For Input As #1
- If Err Then
- MsgBox "Impossible d'ouvrir le fichier: " + LeFichier
- Exit Sub
- End If
-
- Screen.MousePointer = 11
-
- Text1.Text = Input$(LOF(1), 1)
- Close #1
-
- Screen.MousePointer = 0
- End If
- On Error GoTo 0
- End Sub
- Private Sub Command17_Click()
- Dim Filtre, LeFichier
- If Len(Text1.Text) = 0 Then Exit Sub
- dlg.CancelError = True
- dlg.DialogTitle = "Enregistrer un fichier texte"
- dlg.filename = "*.txt"
- dlg.DefaultExt = "txt"
- Filtre = "Textes (*.txt)|*.txt|Tous les fichiers (*.*)|*.*"
- dlg.Filter = Filtre
- dlg.Flags = cdlOFNOverwritePrompt Or cdlOFNPathMustExist Or cdlOFNLongNames
- On Error Resume Next
- dlg.ShowSave
- If Err <> cdlCancel Then
- LeFichier = dlg.filename
- Open LeFichier For Output As #1
- If Err Then
- MsgBox "Impossible d'ouvrir le fichier: " + LeFichier
- Exit Sub
- End If
-
- Screen.MousePointer = 11
-
- Print #1, Text1.Text
- Close #1
-
- Screen.MousePointer = 0
- End If
- On Error GoTo 0
- End Sub
- Private Sub Command18_Click()
- Label9.Visible = True
- Combo1.Visible = True
- Command22.Visible = True
- End Sub
- Private Sub Command19_Click()
- Label5.Caption = "Version 2.052"
- End Sub
- Private Sub Command2_Click()
- Form1.WindowState = 0
- Text10.Visible = False
- If Label3.Caption = "TEXT 1" Then Text1.Text = Text10.Text
- If Label3.Caption = "TEXT 2" Then Text2.Text = Text10.Text
- If Label3.Caption = "TEXT 3" Then Text3.Text = Text10.Text
- If Label3.Caption = "TEXT 4" Then Text4.Text = Text10.Text
- If Label3.Caption = "TEXT 5" Then Text5.Text = Text10.Text
- If Label3.Caption = "TEXT 6" Then Text6.Text = Text10.Text
- If Label3.Caption = "TEXT 7" Then Text7.Text = Text10.Text
- End Sub
- Private Sub Command20_Click()
- Form3.Show
- End Sub
- Private Sub Command21_Click()
- If Form1.WindowState = 2 Then Form1.WindowState = 0
- If Form1.WindowState = 0 Then
- Picture3.Visible = False
- Form1.Height = 3480
- End If
- End Sub
- Private Sub Command22_Click()
- If Combo1.Text = 10 Then
- Text12.Text = 600
- End If
- If Combo1.Text = 20 Then
- Text12.Text = 1200
- End If
- If Combo1.Text = 30 Then
- Text12.Text = 1800
- End If
- If Combo1.Text = 40 Then
- Text12.Text = 2400
- End If
- If Combo1.Text = 50 Then
- Text12.Text = 3000
- End If
- If Combo1.Text = 60 Then
- Text12.Text = 3600
- End If
- If Combo1.Text = 70 Then
- Text12.Text = 4200
- End If
- If Combo1.Text = 80 Then
- Text12.Text = 4800
- End If
- If Combo1.Text = 90 Then
- Text12.Text = 5400
- End If
- Timer9.Enabled = True
- Label9.Visible = False
- Combo1.Visible = False
- Command22.Visible = False
- End Sub
- Private Sub Command23_Click()
- Printer.Print Text1.Text
- End Sub
- Private Sub Command3_Click()
- Form4.Show
- If Label3.Caption = "TEXT 1" Then Form4.Text1.Text = Text1.Text
- If Label3.Caption = "TEXT 2" Then Form4.Text1.Text = Text2.Text
- If Label3.Caption = "TEXT 3" Then Form4.Text1.Text = Text3.Text
- If Label3.Caption = "TEXT 4" Then Form4.Text1.Text = Text4.Text
- If Label3.Caption = "TEXT 5" Then Form4.Text1.Text = Text5.Text
- If Label3.Caption = "TEXT 6" Then Form4.Text1.Text = Text6.Text
- If Label3.Caption = "TEXT 7" Then Form4.Text1.Text = Text7.Text
- End Sub
- Private Sub Command4_Click()
- Option1.Value = True
- Option2.Value = False
- Label6.Visible = True
- Text8.Visible = True
- Command14.Visible = True
- Option1.Visible = True
- Option2.Visible = True
- Check1.Visible = True
- If Form1.WindowState = 0 Then
- Form1.Height = 4230
- End If
- End Sub
- Private Sub Command5_Click()
- Picture3.Visible = True
- Form1.Height = 4470
- End Sub
- Private Sub Command6_Click()
- Form2.Show
- If Label3.Caption = "TEXT 1" Then Form2.Text1.Text = Form1.Text1.Text
- If Label3.Caption = "TEXT 2" Then Form2.Text1.Text = Form1.Text2.Text
- If Label3.Caption = "TEXT 3" Then Form2.Text1.Text = Form1.Text3.Text
- If Label3.Caption = "TEXT 4" Then Form2.Text1.Text = Form1.Text4.Text
- If Label3.Caption = "TEXT 5" Then Form2.Text1.Text = Form1.Text5.Text
- If Label3.Caption = "TEXT 6" Then Form2.Text1.Text = Form1.Text6.Text
- If Label3.Caption = "TEXT 7" Then Form2.Text1.Text = Form1.Text7.Text
- End Sub
- Private Sub Command7_Click()
- Label3.Caption = "TEXT 1"
- Text1.Visible = True
- Text2.Visible = False
- Text3.Visible = False
- Text4.Visible = False
- Text5.Visible = False
- Text6.Visible = False
- Text7.Visible = False
- End Sub
- Private Sub Command8_Click()
- Label3.Caption = "TEXT 2"
- Text1.Visible = False
- Text2.Visible = True
- Text3.Visible = False
- Text4.Visible = False
- Text5.Visible = False
- Text6.Visible = False
- Text7.Visible = False
- End Sub
- Private Sub Command9_Click()
- Label3.Caption = "TEXT 3"
- Text1.Visible = False
- Text2.Visible = False
- Text3.Visible = True
- Text4.Visible = False
- Text5.Visible = False
- Text6.Visible = False
- Text7.Visible = False
- End Sub
- Private Sub n_Click()
- Text1.ForeColor = &H0&
- Text2.ForeColor = &H0&
- Text3.ForeColor = &H0&
- Text4.ForeColor = &H0&
- Text5.ForeColor = &H0&
- Text6.ForeColor = &H0&
- Text7.ForeColor = &H0&
- End Sub
- Private Sub quit_Click()
- Unload Me
- Unload Form2
- Unload Form4
- End Sub
- Private Sub r_Click()
- Text1.ForeColor = &HFF&
- Text2.ForeColor = &HFF&
- Text3.ForeColor = &HFF&
- Text4.ForeColor = &HFF&
- Text5.ForeColor = &HFF&
- Text6.ForeColor = &HFF&
- Text7.ForeColor = &HFF&
- End Sub
- Private Sub t1_Click()
- Text1.Text = ""
- End Sub
- Private Sub t2_Click()
- Text2.Text = ""
- End Sub
- Private Sub t3_Click()
- Text3.Text = ""
- End Sub
- Private Sub t4_Click()
- Text4.Text = ""
- End Sub
- Private Sub t5_Click()
- Text5.Text = ""
- End Sub
- Private Sub t6_Click()
- Text6.Text = ""
- End Sub
- Private Sub t7_Click()
- Text7.Text = ""
- End Sub
- Private Sub Timer1_Timer()
- If Option1.Value = True Then
- Label5.Caption = "Password entered"
- ElseIf Option1.Value = False Then
- Label5.Caption = " No password entered"
- End If
- End Sub
- Private Sub Timer10_Timer()
- If Text12.Text = 60 * Text13.Text Then Beep
- End Sub
- Private Sub Timer11_Timer()
- If Form1.WindowState = 2 Then Command5.Enabled = False
- If Form1.WindowState = 0 Then Command5.Enabled = True
- End Sub
- Private Sub Timer2_Timer()
- If Text11.Text > 3 Then
- Text11.Text = 1
- End If
- End Sub
- Private Sub Timer3_Timer()
- yo = Text11.Text
- Text11.Text = yo + 1
- End Sub
- Private Sub Timer4_Timer()
- If Text11.Text = "1" Then Label4.Caption = "Good day"
- If Text11.Text = "2" Then Label4.Caption = "You're using WorkStation"
- If Text11.Text = "99" Then Label4.Caption = "Version 1.052"
- If Text11.Text = "3" Then Label4.Caption = "perrier@microtec.net"
- End Sub
- Private Sub Timer5_Timer()
- temps = Label8.Caption
- Label8.Caption = temps + 1
- End Sub
- Private Sub Timer6_Timer()
- If Label2.Caption = "Work" Then Timer7.Enabled = True
- If Label2.Caption = "Break" Then Timer8.Enabled = True
- End Sub
- Private Sub Timer7_Timer()
- If Label8.Caption > 3600 Then
- Label2.Caption = "Break"
- Label8.Caption = "0"
- End If
- Timer7.Enabled = False
- End Sub
- Private Sub Timer8_Timer()
- If Label8.Caption > 300 Then
- Label2.Caption = "Work"
- Label8.Caption = "0"
- End If
- Timer8.Enabled = False
- End Sub
- Private Sub Timer9_Timer()
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Timer9.Enabled = False
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- If Text12.Text = 0 Then Beep
- cool = Text12.Text
- Text12.Text = cool - 1
- End Sub
- Private Sub v_Click()
- Text1.BackColor = &HFF00&
- Text2.BackColor = &HFF00&
- Text3.BackColor = &HFF00&
- Text4.BackColor = &HFF00&
- Text5.BackColor = &HFF00&
- Text6.BackColor = &HFF00&
- Text7.BackColor = &HFF00&
- End Sub
-